<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人中心</title>
    <script src="js/UserJs/user3.js"></script>
    <link rel="stylesheet" href="CSS/usercss/user3.css">
    <link rel="stylesheet" href="CSS/usercss/base.css">
</head>

<body>
    <div class="top-bar">
        <div class="top-left">
            <p>个人中心</p>
            <a href="../hospital/hospital.html" style="position: relative;left: 105px;top: -56px;font-size: 19px;">返回首页</a>
        </div>
        <ul class="top-right">
            <li>
                <img src="../dengluzuce/images/user-image/医生jpg.jpg" alt="用户头像">
            </li>
            <li>
                <p id="pusers"></p>
                <ul class="h-info">
                    <li>
                        <a href="#">返回首页</a>
                    </li>
                    <li id="quit">
                        <a href="#">退出账号</a>
                    </li>
                </ul>
            </li>

        </ul>
    </div>
    <div class="content-bar">
        <div class="nav-left">
            <div class="user-info" id="uses">
                <img src="../dengluzuce/images/user-image/医生jpg.jpg" alt="用户图像">
                <p>用户123</p>
            </div>
            <ul class="nav clearfix">
                <li>
                    <a href="user.html">基本信息</a>
                </li>
                <li>
                    <a href="user2.html">修改密码</a>
                </li>
                <li id="third">
                    <a href="user3.html">体检预约</a>
                </li>
                <li>
                    <a href="#" id="exit" onclick="exits()">退出</a>
                </li>
            </ul>
        </div>
        <div class="content">
            <div class="box1 clearfix">
                <h2>修改密码</h2>
            </div>
            <div class="box2" id="box2">
                <label for="">体检项目:</label><input type="text" id="txt1" placeholder="请输入体检项目">
                <label for="">预约时间:</label><input type="text" id="txt2" placeholder="请输入预约时间">
                <label for="">姓名</label><input type="text" id="txt3" placeholder="请输入您的姓名">
                <button id="add">添加</button>
                <table>
                    <tbody id="body">
                        <tr>
                            <th>体检项目</th>
                            <th>预约时间</th>
                            <th>姓名</th>
                            <th>操作</th>
                        </tr>
                        <tr>
                            <td>胸部CT</td>
                            <td>2019-10-20,08:00</td>
                            <td>李四</td>
                            <td>已完成</td>
                        </tr>
                        <tr>
                            <td>全身体检</td>
                            <td>2020-7-14,14:30</td>
                            <td>李四</td>
                            <td>已完成</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <script>
        document.getElementById("uses").innerHTML = `<img src="../dengluzuce/images/user-image/医生jpg.jpg" alt="用户图像">
                <p>${localStorage.getItem("************")}</p>`
        document.getElementById("pusers").innerHTML = `<a href="">${localStorage.getItem("************")}</a>`
    </script>
</body>

</html>